package org.yuyao.biz1.providerclient;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(contextId = "remoteOrderClient",name="yuyao-system")
public interface RemoteOrderClient {

    @GetMapping("/order/findOrder/{orderNo}")
     String getOrderNo(@PathVariable("orderNo")String orderNo);

    @GetMapping("/order/findList")
     String getList();
}
